using System;
using animeshell;

namespace animeshell
{
	
	
	public class RechercheInterne : Gtk.Window
	{
		protected Gtk.Entry txtRechercheNom;
		protected Gtk.Button btnRecherche;
		protected Gtk.Button btnQuitter;
		protected Traitement m_CTraitement;
		
		public RechercheInterne(Traitement CT) : base("")
		{
			Stetic.Gui.Build(this, typeof(animeshell.RechercheInterne));
			m_CTraitement = CT;
		}

		protected virtual void btnQuitter_Click(object sender, System.EventArgs e)
		{
			this.Destroy();
		}

		protected virtual void btnRechercher_Click(object sender, System.EventArgs e)
		{
			m_CTraitement.InternalSearch(txtRechercheNom.Text);
		}
	}
}
